package com.aaa.ssm.mapper;

import com.aaa.ssm.entity.Student;
import com.aaa.ssm.entity.StudentQuery;
import com.aaa.ssm.entity.StudentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author AUSU
 * @version 1.0
 * 创建时间：2025/3/22 16:07
 */
@Repository
public interface StudentMapper {

    List<Student> queryStudentByQuery(StudentQuery query);

    Long queryStudentTotalCount(StudentQuery query);

    int deleteStudentById(Integer id);

    int addStudent(StudentVO s);

    StudentVO getStudent(Integer id);

    int updateStudent(StudentVO s);

}
